package model;

import java.awt.Color;
import java.util.ArrayList;
import java.util.List;

public class OneByFour extends Shape {
	
	String shapeDirection;

	String posOne = "1" +
					"2" +
					"1" +
					"1";
	String posTwo = "1211";
	String posThree = "1" +
					  "1" +
					  "2" +
					  "1";
	String posFour = "1121";
	
	public OneByFour(Grid g, int x, int y) {
		this(b);
		x = x;
		y = y;
		shapeDirection = posOne; 
	}
	
	public void rotate() {
		if (shapeDirection.equals(posOne)) {
			shapeDirection = posTwo;
		}
		else if (shapeDirection.equals(posTwo)) {
			shapeDirection = posThree;
		}
		else if (shapeDirection.equals(posThree)) {
			shapeDirection = posFour;
		}
		else if (shapeDirection.equals(posFour)) {
			shapeDirection = posOne;
		}
	}
	
	public draw() {
				
	}
	
	public Color getColor() {
		return Color.GRAY;
	}

}
